package com.surprise.cweb.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.surprise.cweb.utils.CommonUtil;

/**
 * SurpriseExtendController.java
 * @author xuling
 * @since 2018年9月9日
**/
@Controller
@RequestMapping(value = "/api", produces = { "application/json" })
public class SurpriseExtendController {

	@RequestMapping("/getSurpriseExtendCount")
	@ResponseBody
	public String getSurpriseExtendCount() {
		Map<String,Object> map = new HashMap<String,Object>();
		map.put("data", 1000);
		return CommonUtil.JsonChangeObject(map);
	}
}
